package com.myblog.service;

import com.myblog.model.po.SysPermission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 权限表 服务类
 * </p>
 *
 * @author 
 * @since 2022-09-03
 */
public interface SysPermissionService extends IService<SysPermission> {

    List<SysPermission> findByUserId(Long userId);

    Boolean deleteById(Long id);

}
